package me.boot.auth.spring.service;

import me.boot.auth.spring.model.SpringUser;
import me.boot.sys.entity.SysRole;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserService extends UserDetailsService {
    SpringUser getById(Long userId);

    SpringUser getByUsername(String username);

    List<SysRole> findByUrl(String requestUrl, String httpMethod);
}
